#include "RevolutionAffectorFactory.h"
#include "RevolutionAffector.h"

namespace Destiny
{
	CRevolutionAffectorFactory* CRevolutionAffectorFactory::mSelf = NULL ;

	CRevolutionAffectorFactory::CRevolutionAffectorFactory(void)
	{
	}


	CRevolutionAffectorFactory::~CRevolutionAffectorFactory(void)
	{
	}

	Ogre::ParticleAffector* CRevolutionAffectorFactory::createAffector(Ogre::ParticleSystem* psys)
	{
		Ogre::ParticleAffector* pParticleAffector = OGRE_NEW CRevolutionAffector(psys) ;
		mAffectors.push_back( pParticleAffector ) ;
		return pParticleAffector ;
	}
}